<template>
    <div>
        <h1>{{ stuDetail.stu_name }}学生的信息详情</h1>
        <img :src="stuDetail.stu_head_img" alt="" srcset="" width="150px" height="150px" />
    </div>
</template>

<script>
export default {
    data() {
        return {
            stuDetail: {}
        }
    },
    mounted() {
        //将JSON字符串转换成JSON对象
        this.stuDetail = JSON.parse(this.$route.query.stuInfoDetail);
    }
}
</script>

<style lang="scss" scoped>

</style>